{extend name="../public/header" /}
{block name="body"}
<style>
#form1 .layui-form-item{margin-bottom:0;}
</style>
<body>
<fieldset class="layui-elem-field site-demo-button" style="padding:10px;">
	<div class="layui-row">
		<!--  -->
		<form id="form1" class="layui-form layui-form-pane" action="{:url('')}">
			<input type="hidden" name="id" value="{$id}">
			<div class="layui-tab" lay-filter="test">
				<div class="layui-input-inline">
					<select name="mid">
						<option value="0">没有道路</option>
						{volist name='list' id='vo' key='k'}
						<option value="{$vo.mid}" data-title="{$vo.mname}" {if condition="$vo.mid eq $id"}selected{/if}>[{$vo.qyname}]-{$vo.mname}</option>
						{/volist}
					</select>
				</div>
			</div>
		</form>
		<!--  -->
	</div>
</fieldset>
</body>
{/block}
{block name="script"}
<script>
layui.use(['jquery','laydate','form','layajax','layer'], function(){
	var $ = layui.jquery
		,form = layui.form
		,laydate = layui.laydate
		,layer = layui.layer
		,layajax = layui.layajax;
		
	form.render();
});
</script>
{/block}